SYNTAX:
HS_VS_CLAMP_DETECT(VS_NO [, MARK_NO=x] [, CLEAR_CONT/CONT_NEXT/PTN_FORCE_STOP/PATTERN_END] [, LOG_OFF] [, BinNo=x] [, LOG_ALIAS=name] [, LOG_UNIT=unit] [, LOG_SITE=x] [, USER_MONITOR/USER_MON_ONLY] [, IGNORE_FAIL]);
DESCRIPTION:
Detect VS clamp status and return value on datalog. User can utilize "MARK_NO" to control the test flow.
Return 0: Until currently clamp detect instruction, selected VS didn't occur clamp.
Return 1: Until currently clamp detect instruction, selected VS had occurred clamp or occurring clamp now.
NOTE: After clamp detection, the clamp detect value won't be returned to zero by system. User must set "HS_CLEAR_CLAMP_DETECT" to clear the clamp detect value of all HS resources. After that, clamp detect value will be returned to zero.
REQUIRED ARGUMENT:
PARA1: VS_NO
HS_VS9~32 or power_source_name(string) that has been defined in the PRJ file. Or _C_Variable
EXAMPLE:
HS_FORCE_VS(HS_VS9, FORCE_V, 0.0V, 40UA, E1, I2);
WAIT(1MS);
HS_CLOSE_VS_OUTPUT_RELAY(HS_VS9, WAIT=3mS, ON);
WAIT(1MS);
HS_FORCE_VS(HS_VS9, FORCE_V, 3.0V, 40UA, E1, I2);
WAIT(1MS);
HS_VS_CLAMP_DETECT(HS_VS9, MARK_NO=10); //When selected VS occurred clamp, MARK_NO set to be 10.